<#include "/common/pagerForm.html">
<form rel="pagerForm" method="post" action="" onsubmit="return navTabSearch(this)">
    <div class="pageHeader">
        <div class="searchBar orderType">
            <ul class="searchContent">
                <li>
                    <label><@label key="distributionModeCode.C,colon">配送方式编号：</@label></label> 
                    <input type="text" class="textInput" name="distributionModeCode" value="${condition.distributionModeCode!''}" />
                </li>
                <li>
                    <label><@label key="distributionModeText.C,colon">配送方式描述：</@label></label> 
                    <input type="text" class="textInput" name="distributionModeText" value="${condition.distributionModeText!''}" />
                </li>

                <li class="query">
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit"><@label key="query.B">查询</@label></button>
                        </div>
                    </div></li>
            </ul>
        </div>
    </div>
</form>

<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <@buttonRight menuCode="ADDDISTRIBUTIONMODE" labelKey="add.B" defalutName="新增"><li>
                <a class="add" target="dialog" mask="true" resizeable="false" width="480" height="220"
                href="${rc.getContextPath()}/manage/distributionmode/addDistributionmode?navTabId=${navTabId!''}"
                rel="addDistributionmode"
                title="<@label key='addDistributionmode.D'>新增物料配送形式</@label>">
                <span><@label key="add.B">新增</@label></span></a>
            </li></@buttonRight> 
            <@buttonRight menuCode="EDITDISTRIBUTIONMODE" labelKey="edit.B" defalutName="编辑"><li>
                <a class="edit" target="dialog" mask="true" resizeable="false" width="580" height="300"
                href="${rc.getContextPath()}/manage/distributionmode/modifyDistributionmode?id={distributionmode_code}&navTabId=${navTabId!''}"
                rel="editDistributionmode"
                title="<@label key='editDistributionmode.D'>编辑物料配送形式</@label>">
                <span><@label key="edit.B">编辑</@label></span></a>
            </li></@buttonRight>
            <@buttonRight menuCode="VIEWDISTRIBUTIONMODE" labelKey="view.B" defalutName="详情"><li>
                <a class="icon" target="dialog" mask="true" width="580"
                height="300"
                href="${rc.getContextPath()}/manage/distributionmode/viewDistributionmode?id={distributionmode_code}&navTabId=${navTabId!''}"
                rel="viewDistributionmode"
                title="<@label key='viewDistributionmode.D'>物料配送形式详情</@label>">
                <span><@label key="view.B">详情</@label></span> </a>
            </li></@buttonRight> 
            <@buttonRight menuCode="DELETEDISTRIBUTIONMODE" labelKey="delete.B" defalutName="删除"><li>
                <a class="delete" target="selectedTodo"  
                href="${rc.getContextPath()}/manage/distributionmode/deleteDistributionmode?navTabId=${navTabId!''}"
                postType="string" rel="codes" callback="batchjobAjaxDone"
                title="<@label key='confirmDelDistributionmode.M'>确认要删除选择的物料配送形式吗？</@label>">
                <span><@label key="delete.B">删除</@label></span></a>
            </li></@buttonRight>
        </ul>
    </div>
    <table class="table" width="100%" layoutH="135"
        style="overflow: scroll;">
         <thead>
            <tr>
                <th width="22"><input type="checkbox" group="codes" class="checkboxCtrl"></th>
                <th width="100"><@label key="serialNumber.C">序号</@label></th>
                <th width="300"><@label key="distributionModeCode.C">配送方式编号</@label></th>
                <th width="300"><@label key="distributionModeText.C">配送方式描述</@label></th>
                <th width="200"><@label key="lockFlag.C">锁定标记</@label></th>               
            </tr>
        </thead>
        <tbody>
            <#if page??><#if (page.data?size>0)> <#list page.data as distributionmode>
            <tr target="distributionmode_code" rel="${distributionmode.distributionModeCode!''}">
                <td><input name="codes" value="${distributionmode.distributionModeCode!''}"
                    type="checkbox"> </td>
                <td>${page.startRow + distributionmode_index}</td>
                <td>${distributionmode.distributionModeCode!''}</td>
                <td>${distributionmode.distributionModeText!''}</td>
                <td><#if (distributionmode.lockFlag == 1)><@label
                    key="yes.C">是</@label><#else><@label key="no.C">否</@label></#if></td>
            </tr>
            </#list> <#else>
            <tr>
                <td colspan="9" class="noData">======<@label
                    key="noListData.C">列表无数据</@label>=====</td>
            </tr>
            </#if> <#else>
            <tr>
                <td colspan="9" class="noData">======<@label
                    key="noListData.C">列表无数据</@label>=====</td>
            </tr>
            </#if>
        </tbody>
    </table>
    <#include "/common/panelBar.html">
</div>
